Release 10.1A: OpenEdge Development:
Progress Dynamics Managers API Reference
insertObjectInstance
This procedure adds or updates an object instance on a container. If the object already exists on the container, the instance and its attribute values are updated accordingly. Otherwise, the instance is created.
Because an object can exist multiple times on a container, this procedure determines whether the object exists based on the object instance name. If the
plForceCreateNewflag is set, a new object instance is created even if one already exists.If an attribute value is contained in the attribute value table and is set against the instance owner, the attribute value is set against the object.
Location: ry\app\rydesmngrp.i Parameters:INPUT pdContainerObjectObj AS DECIMALINPUT pcObjectName AS CHARACTERINPUT pcResultCode AS CHARACTERINPUT pcInstanceName AS CHARACTERINPUT pcInstanceDescription AS CHARACTERINPUT pcLayoutPosition AS CHARACTERINPUT piPageNumber AS INTEGERINPUT piPageSequence AS INTEGERINPUT plForceCreateNew AS LOGICALINPUT phAttributeValueBuffer AS HANDLEINPUT TABLE-HANDLE phAttributeValueTableOUTPUT pdSmartObjectObj AS DECIMALOUTPUT pdObjectInstanceObj AS DECIMALNotes: None Examples: See theregisterSdoFieldsprocedure inry\app\rydesmngrp.i.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |